package com.peanut.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peanut.domain.bo.TabCarSeriesBO;
import com.peanut.dto.TabCarAgeDTO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.math.BigDecimal;
import java.util.List;

public interface TabCarAgeMapper extends BaseMapper<TabCarAgeDTO> {
    @Select("select*from tab_car_series")
    List<TabCarSeriesBO> selectAlls();

    List<TabCarSeriesBO> recommend(@Param("longitude")BigDecimal longitude, @Param("latitude")BigDecimal latitude);
}
